import { createStore } from 'vuex'
import createPersistedState from 'vuex-persistedstate';
import userInfoModule from '@/store/modules/user'
import playListModule from '@/store/modules/playlist'
import playMVModule from './modules/playmv';
import djProgramModule from '@/store/modules/djProgram';
export default createStore({
    state() {
        return {

        }
    },
    modules: {
        userInfoModule,
        playListModule,
        playMVModule, //放入模块中
        djProgramModule,
    },
    plugins:
        [
            createPersistedState()
        ]

})